<template>
    <div class="bg">
        <el-breadcrumb separator="/">
            <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item><a href="/">基本信息</a></el-breadcrumb-item>
        </el-breadcrumb>
        <el-divider></el-divider>

        <!-- 表单 -->
        <el-form label-width="80px" style="width: 700px;">
            <el-form-item label="场站名称">
                <el-input placeholder="请输入场站名称(5-25字)" v-model="station.station_name"></el-input>
            </el-form-item>

            <el-form-item label="场站照片">
                <el-upload action="#" list-type="picture-card" :auto-upload="false">
                    <i slot="default" class="el-icon-plus"></i>
                    <div slot="file" slot-scope="{file}">
                        <img class="el-upload-list__item-thumbnail" :src="file.url" alt="">
                        <span class="el-upload-list__item-actions">
                            <span class="el-upload-list__item-preview" @click="handlePictureCardPreview(file)">
                                <i class="el-icon-zoom-in"></i>
                            </span>
                            <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)">
                                <i class="el-icon-download"></i>
                            </span>
                            <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleRemove(file)">
                                <i class="el-icon-delete"></i>
                            </span>
                        </span>
                    </div>
                </el-upload>
                <el-dialog :visible.sync="dialogVisible">
                    <img width="100%" :src="dialogImageUrl" alt="">
                </el-dialog>
            </el-form-item>

            <el-form-item label="详细地址">
                <el-input placeholder="请输入场站详细的位置信息"></el-input>
            </el-form-item>
            <el-form-item label="地区">
                <template>
                    <el-select v-model="value1" multiple placeholder="请选择">
                        <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
                        </el-option>
                    </el-select>

                    <el-select v-model="value2" multiple collapse-tags style="margin-left: 20px;" placeholder="请选择">
                        <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
                        </el-option>
                    </el-select>
                </template>
            </el-form-item>
            <el-form-item label="场站类型">
                <el-radio>公共</el-radio>
                <el-radio>专用</el-radio>
            </el-form-item>
            <el-form-item label="营业时间">
                <template>
                    <el-time-picker v-model="value1" :picker-options="{
                        selectableRange: '18:30:00 - 20:30:00'
                    }" placeholder="任意时间点">
                    </el-time-picker>
                    <el-time-picker arrow-control v-model="value2" :picker-options="{
                        selectableRange: '18:30:00 - 20:30:00'
                    }" placeholder="任意时间点">
                    </el-time-picker>
                </template>
            </el-form-item>
            <el-form-item>
                <el-breadcrumb separator="/">
                    <el-breadcrumb-item><a href="/">其它信息</a></el-breadcrumb-item>
                </el-breadcrumb>
                <el-divider></el-divider>
            </el-form-item>
            <el-form-item label="是否免费停车:">
                <el-radio>停车免费</el-radio>
                <el-radio>限时免费</el-radio>
                <el-radio>停车收费</el-radio>
            </el-form-item>
            <el-form-item label=" 是否支持开票:">
                <el-radio>支持</el-radio>
                <el-radio>不支持</el-radio>
            </el-form-item>
            <el-form-item label="运营商:">
                <template>
                    <el-select v-model="value" placeholder="请选择">
                        <el-option>企业A</el-option>
                        <el-option>企业B</el-option>
                    </el-select>
                </template>
            </el-form-item>
            <el-form-item label="建设场所:">
                <template>
                    <el-select v-model="value" placeholder="请选择">
                        <el-option>企业A</el-option>
                        <el-option>企业B</el-option>
                    </el-select>
                </template>
            </el-form-item>
            <el-form-item label="站点电话">
                <el-input></el-input>
            </el-form-item>
            <el-form-item label="车位数量:"><el-input></el-input></el-form-item>
            <el-form-item label="桩位描述:"><el-input></el-input></el-form-item>
            <el-form-item label="站点引导:">
                <el-input></el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
export default {
    data() {
        return {
            station: {
                station_name: '',
                station_cover: '',
                type: [],

            }
        }
    },
}
</script>

<style lang="scss" scoped>
.bg{
    background-color: #f6f6f6;
}
</style>